package com.vogue.supplymall.admin.business.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * The type Admin account balance.
 * 集团消费账本信息
 */
@Entity
@Table(name = "admin_account_balance")
public class AdminAccountBalance extends BaseEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -6773761375976602214L;
    /**
     * 集团id
     */
    private Long organid;
    /**
     * 计费id
     */
    private Long consumeid;
    /**
     * 系统唯一注册码的id
     */
    private Long syscodeid;
    /**
     * 账本类型 0:现金 1:信用
     */
    private Integer type;
    /**
     * 优先级
     */
    private Integer seqnum;
    /**
     * 余额
     */
    private BigDecimal balance;
    /**
     * 操作者id
     */
    private Long updateuserid;
    /**
     * 操作者名称
     */
    private String updateuser;

    /**
     * Gets organid.
     *
     * @return the organid
     */
    public Long getOrganid() {
        return organid;
    }

    /**
     * Sets organid.
     *
     * @param organid the organid
     */
    public void setOrganid(Long organid) {
        this.organid = organid;
    }

    /**
     * Gets consumeid.
     *
     * @return the consumeid
     */
    public Long getConsumeid() {
        return consumeid;
    }

    /**
     * Sets consumeid.
     *
     * @param consumeid the consumeid
     */
    public void setConsumeid(Long consumeid) {
        this.consumeid = consumeid;
    }

    /**
     * Gets syscodeid.
     *
     * @return the syscodeid
     */
    public Long getSyscodeid() {
        return syscodeid;
    }

    /**
     * Sets syscodeid.
     *
     * @param syscodeid the syscodeid
     */
    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    /**
     * Gets type.
     *
     * @return the type
     */
    public Integer getType() {
        return type;
    }

    /**
     * Sets type.
     *
     * @param type the type
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * Gets seqnum.
     *
     * @return the seqnum
     */
    public Integer getSeqnum() {
        return seqnum;
    }

    /**
     * Sets seqnum.
     *
     * @param seqnum the seqnum
     */
    public void setSeqnum(Integer seqnum) {
        this.seqnum = seqnum;
    }

    /**
     * Gets balance.
     *
     * @return the balance
     */
    public BigDecimal getBalance() {
        return balance;
    }

    /**
     * Sets balance.
     *
     * @param balance the balance
     */
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    /**
     * Gets updateuserid.
     *
     * @return the updateuserid
     */
    public Long getUpdateuserid() {
        return updateuserid;
    }

    /**
     * Sets updateuserid.
     *
     * @param updateuserid the updateuserid
     */
    public void setUpdateuserid(Long updateuserid) {
        this.updateuserid = updateuserid;
    }

    /**
     * Gets updateuser.
     *
     * @return the updateuser
     */
    public String getUpdateuser() {
        return updateuser;
    }

    /**
     * Sets updateuser.
     *
     * @param updateuser the updateuser
     */
    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser;
    }
}
